﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Day06
{
    //响应者
    public class Enclosure
    {
        public static void Upgrade()
        {
            Console.WriteLine("围墙升级");
        }
        public static void Upgrade(DamageEventArgs args)
        {
            MainCity city = args.Sender as MainCity;
            Console.WriteLine("{0}围墙升级",city.Name);
        }
    }
}